/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "data": {
                "totalNum": 3,
                "list": [{
                    "uid": 27894,
                    "updateDate": "2016-11-14 16:46:49",
                    "id": 130,
                    "delFlag": "FALSE",
                    "alipayAccount": "yang.juan_juan-j@baidu.com",
                    "createDate": "2016-11-14 16:46:49"
                }, {
                    "uid": 27894,
                    "updateDate": "2016-11-14 16:25:54",
                    "id": 129,
                    "delFlag": "FALSE",
                    "alipayAccount": "gos_sfdsd.1232-123@baidu.com",
                    "createDate": "2016-11-14 16:25:54"
                }, {
                    "uid": 27894,
                    "updateDate": "2016-11-14 16:25:54",
                    "id": 131,
                    "delFlag": "FALSE",
                    "alipayAccount": "17180193040",
                    "createDate": "2016-11-14 16:25:54"
                }],
                "pageNum": 1
            }, "msg": "success", "code": "100200"
        }
    };
};

/* eslint-enable fecs-camelcase */
